﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Envision4IT.data.model
{
    public class Ticket
    {
        public int TicketID { get; set; }

        public virtual Solution SolutionName { get; set; }

        public int SolutionID { get; set; }

        public string UserID { get; set; }

        public DateTime DateOpened { get; set; }

        public virtual List<TicketNote> TicketNotes { get; set; }

        public enum Category
        {
            Video,
            Wi_Fi,
            Sound,
            Security,
            Telecommunications,
            Internet
        }

        public enum Status
        {
            complete,
            on_going,
            unassigned,
            assigned,
            in_progress,
            pending
        };

        public enum Urgency
        {
            one,
            two,
            three,
            four,
            five
        };

        public DateTime? DateClosed { get; set; }

        public enum Type
        {
            Work_Order,
            Trouble_Ticket
        };

        public DateTime? DateDeleted { get; set; }
    }
}